﻿#region Copyright

// Majesty of Omega - The next evolution of macro management space strategy
// 
// Copyright 2007-2009 André Claaßen
// 
// This file is protected by the terms and conditions of the
// Microsoft Community License (Ms-CL 1.1), a copy of which should
// have been distributed along with this software. If not,
// you may find the license information at the following URL:
// 
// http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx

#endregion

#region

using System;
using System.Collections.Generic;

#endregion

namespace Majesty_of_Omega.Model.Report
{
    /// <summary>
    /// Situation SitReport. A Situation report groups serveral turns, wich consists of several report entries
    /// </summary>
    [Serializable]
    public class SitReport
    {
        /// <summary>
        /// List of situation report turns
        /// </summary>
        private readonly Dictionary<int, SitReportTurn> sitReportTurns = new Dictionary<int, SitReportTurn>();

        /// <summary>
        /// Gets the list of situation report turns
        /// </summary>
        public Dictionary<int, SitReportTurn> SitReportTurns
        {
            get { return sitReportTurns; }
        }

        /// <summary>
        /// Adds the a Situation SitReport Turn
        /// </summary>
        /// <param name="reportTurn">The report turn.</param>
        public void AddSitReportTurn(SitReportTurn reportTurn)
        {
            sitReportTurns.Add(reportTurn.TurnNumber, reportTurn);
        }
    }
}